package com.google.rui.demos.apn;

public class ApnNode {

	private String id;

	private String name;

	private String apn;

	private String proxy;

	private String port;

	private String user;

	private String server;

	private String password;

	private String mmsc;

	private String mmsproxy;

	private String mmsport;

	private String mcc;

	private String mnc;

	private String numeric;

	private String type;

	private String current;

	public String toString() {
		return id + " " + name;

	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the apn
	 */
	public String getApn() {
		return apn;
	}

	/**
	 * @param apn
	 *            the apn to set
	 */
	public void setApn(String apn) {
		this.apn = apn;
	}

	/**
	 * @return the proxy
	 */
	public String getProxy() {
		return proxy;
	}

	/**
	 * @param proxy
	 *            the proxy to set
	 */
	public void setProxy(String proxy) {
		this.proxy = proxy;
	}

	/**
	 * @return the port
	 */
	public String getPort() {
		return port;
	}

	/**
	 * @param port
	 *            the port to set
	 */
	public void setPort(String port) {
		this.port = port;
	}

	/**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}

	/**
	 * @param user
	 *            the user to set
	 */
	public void setUser(String user) {
		this.user = user;
	}

	/**
	 * @return the server
	 */
	public String getServer() {
		return server;
	}

	/**
	 * @param server
	 *            the server to set
	 */
	public void setServer(String server) {
		this.server = server;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the mmsc
	 */
	public String getMmsc() {
		return mmsc;
	}

	/**
	 * @param mmsc
	 *            the mmsc to set
	 */
	public void setMmsc(String mmsc) {
		this.mmsc = mmsc;
	}

	/**
	 * @return the mmsproxy
	 */
	public String getMmsproxy() {
		return mmsproxy;
	}

	/**
	 * @param mmsproxy
	 *            the mmsproxy to set
	 */
	public void setMmsproxy(String mmsproxy) {
		this.mmsproxy = mmsproxy;
	}

	/**
	 * @return the mmsport
	 */
	public String getMmsport() {
		return mmsport;
	}

	/**
	 * @param mmsport
	 *            the mmsport to set
	 */
	public void setMmsport(String mmsport) {
		this.mmsport = mmsport;
	}

	/**
	 * @return the mcc
	 */
	public String getMcc() {
		return mcc;
	}

	/**
	 * @param mcc
	 *            the mcc to set
	 */
	public void setMcc(String mcc) {
		this.mcc = mcc;
	}

	/**
	 * @return the mnc
	 */
	public String getMnc() {
		return mnc;
	}

	/**
	 * @param mnc
	 *            the mnc to set
	 */
	public void setMnc(String mnc) {
		this.mnc = mnc;
	}

	/**
	 * @return the numeric
	 */
	public String getNumeric() {
		return numeric;
	}

	/**
	 * @param numeric
	 *            the numeric to set
	 */
	public void setNumeric(String numeric) {
		this.numeric = numeric;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the current
	 */
	public String getCurrent() {
		return current;
	}

	/**
	 * @param current
	 *            the current to set
	 */
	public void setCurrent(String current) {
		this.current = current;
	}

	public String GetInfo() {
		String result = "";
		result += "id:" + id;
		result += "\nname:" + name;
		result += "\napn:" + apn;
		result += "\nproxy:" + proxy;
		result += "\nport:" + port;
		result += "\nuser:" + user;
		result += "\nserver:" + server;
		result += "\npassword:" + password;
		result += "\nmmsc:" + mmsc;
		result += "\nmmsproxy:" + mmsproxy;
		result += "\nmmsport:" + mmsport;
		result += "\nmcc:" + mcc;
		result += "\nmnc:" + mnc;
		result += "\nnumeric:" + numeric;
		result += "\ntype:" + type;
		result += "\ncurrent:" + current;

		return result;
	}
}